package com.huawei.appgallery.wishwall.ui.cardkit.card;

import android.content.Context;
import android.view.View;
import android.widget.TextView;
import com.huawei.appgallery.foundation.ui.framework.cardkit.bean.CardBean;
import com.huawei.appgallery.wishwall.ui.cardkit.bean.WishWallSubHeaderCardBean;
import huawei.widget.HwTextView;
import o.cgz;
import o.ddq.d;

public class WishWallSubHeaderCard extends cgz {
    private HwTextView ॱ;

    public WishWallSubHeaderCard(Context context) {
        super(context);
    }

    public cgz ˏ(View view) {
        ॱ((TextView) view.findViewById(d.ˊˋ));
        this.ॱ = (HwTextView) view.findViewById(d.ˊॱ);
        ʽ(view);
        return this;
    }

    public void ˏ(CardBean cardBean) {
        super.ˏ(cardBean);
        if (cardBean instanceof WishWallSubHeaderCardBean) {
            this.ॱ.setText(((WishWallSubHeaderCardBean) cardBean).ˊ());
        }
    }
}
